.PHONY:all
all:udpserver udpclient

udpserver:udp_server.cc
	g++ -o $@ $^ -std=c++11

udpclient:udp_client.cc
	g++ -o $@ $^ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -rf udpclient udpserver
